You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Fix Engine get_target_fps() returning float instead of int.
This commit is contained in:
@@ -60,7 +60,7 @@ void Engine::set_target_fps(int p_fps) {
|
||||
_target_fps = p_fps > 0 ? p_fps : 0;
|
||||
}
|
||||
|
||||
float Engine::get_target_fps() const {
|
||||
int Engine::get_target_fps() const {
|
||||
return _target_fps;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user