mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-01-17 22:38:38 +01:00
Fix compilation with LUACONSOLE turned off
This commit is contained in:
parent
63661a752c
commit
1c459a7e1a
@ -4988,7 +4988,9 @@ void Simulation::BeforeSim()
|
||||
{
|
||||
if (!sys_pause||framerender)
|
||||
{
|
||||
#ifdef LUACONSOLE
|
||||
luacon_ci->HandleEvent(LuaEvents::beforesim, new BeforeSimEvent());
|
||||
#endif
|
||||
|
||||
air->update_air();
|
||||
|
||||
@ -5189,7 +5191,9 @@ void Simulation::AfterSim()
|
||||
emp_trigger_count = 0;
|
||||
}
|
||||
|
||||
#ifdef LUACONSOLE
|
||||
luacon_ci->HandleEvent(LuaEvents::aftersim, new AfterSimEvent());
|
||||
#endif
|
||||
}
|
||||
|
||||
Simulation::~Simulation()
|
||||
|
Loading…
x
Reference in New Issue
Block a user