mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-12 03:14:04 +02:00
Fix compilation with LUACONSOLE turned off
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user