mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-09 09:56:35 +02:00
fix particle debug when unpaused (#343)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user