mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix buttons not working for Lua-triggered formspecs
This commit is contained in:
parent
8b75736c6f
commit
0b1d09ff4f
8 changed files with 29 additions and 11 deletions
|
@ -583,7 +583,7 @@ public:
|
|||
m_async_fatal_error.set(error);
|
||||
}
|
||||
|
||||
bool showFormspec(const char *name, const std::string &formspec);
|
||||
bool showFormspec(const char *name, const std::string &formspec, const std::string &formname);
|
||||
private:
|
||||
|
||||
// con::PeerHandler implementation.
|
||||
|
@ -621,7 +621,7 @@ private:
|
|||
void SendMovePlayer(u16 peer_id);
|
||||
void SendPlayerPrivileges(u16 peer_id);
|
||||
void SendPlayerInventoryFormspec(u16 peer_id);
|
||||
void SendShowFormspecMessage(u16 peer_id, const std::string formspec);
|
||||
void SendShowFormspecMessage(u16 peer_id, const std::string formspec, const std::string formname);
|
||||
/*
|
||||
Send a node removal/addition event to all clients except ignore_id.
|
||||
Additionally, if far_players!=NULL, players further away than
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue