mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-03-22 15:19:52 +01:00
fix particle debug when unpaused (#343)
This commit is contained in:
parent
69d28bd7b0
commit
8e0708daad
@ -62,6 +62,7 @@ bool ParticleDebug::KeyPress(int key, Uint16 character, bool shift, bool ctrl, b
|
||||
{
|
||||
if (key == 'f')
|
||||
{
|
||||
model->SetPaused(1);
|
||||
if (alt)
|
||||
{
|
||||
Debug(0, 0, 0);
|
||||
@ -96,7 +97,6 @@ bool ParticleDebug::KeyPress(int key, Uint16 character, bool shift, bool ctrl, b
|
||||
{
|
||||
model->FrameStep(1);
|
||||
}
|
||||
model->SetPaused(1);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user