mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-12-21 04:00:13 +00:00
fix: Remove instances of undefined behavior
This commit is contained in:
@@ -36,7 +36,7 @@ void PropertyEntranceComponent::OnUse(Entity* entity) {
|
||||
|
||||
AMFArrayValue args;
|
||||
|
||||
args.Insert("state", "property_menu");
|
||||
args.Insert<std::string>("state", "property_menu");
|
||||
|
||||
GameMessages::SendUIMessageServerToSingleClient(entity, entity->GetSystemAddress(), "pushGameState", args);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user