Show who spawns what in in-game console

This commit is contained in:
MysterD 2023-06-23 13:08:19 -07:00
parent 19df4ec7e1
commit c2d218a6ab
1 changed files with 1 additions and 0 deletions

View File

@ -155,6 +155,7 @@ void network_receive_spawn_objects(struct Packet* p) {
name = gNetworkPlayers[p->localIndex].name;
}
LOG_INFO("rx spawn object %s from %s (%s)", get_behavior_name_from_id(data.behaviorId), name, id);
LOG_CONSOLE("rx spawn object %s from %s (%s)", get_behavior_name_from_id(data.behaviorId), name, id);
snprintf(gLastRemoteBhv, 256, "%s %s (%s)", get_behavior_name_from_id(data.behaviorId), name, id);
struct Object* parentObj = NULL;