mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Fix Engine get_target_fps() returning float instead of int.
(cherry picked from commit 0b9e95cac5
)
This commit is contained in:
parent
acfd8b67bd
commit
5bd603a542
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue