Merge pull request #45236 from Rohesie/fps

world.fps and SStimers safety check
This commit is contained in:
oranges
2019-07-22 21:07:55 +12:00
committed by GitHub
3 changed files with 26 additions and 2 deletions
+1 -1
View File
@@ -23,4 +23,4 @@
SSblackbox.record_feedback("nested tally", "admin_toggle", 1, list("Set Server FPS", "[new_fps]")) //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
CONFIG_SET(number/fps, new_fps)
world.fps = new_fps
world.change_fps(new_fps)