Skip to content

Commit

Permalink
Replace setMinuteDuration with setTimeFrozen
Browse files Browse the repository at this point in the history
  • Loading branch information
jlillis committed Sep 1, 2024
1 parent da2223c commit 50c57d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions [gameplay]/freeroam/fr_client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1901,9 +1901,9 @@ function toggleFreezeTime()
local state = guiCheckBoxGetSelected(getControl(wndMain, 'freezetime'))

if state then
setMinuteDuration(2147483647)
setTimeFrozen(true)
else
setMinuteDuration(1000)
setTimeFrozen(false)
end
end

Expand Down
2 changes: 1 addition & 1 deletion [gameplay]/freeroam/meta.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<oop>true</oop>
<info name="Freeroam GUI" author="arc_" version="1.5.7" />
<min_mta_version server="1.5.5-9.13846" client="1.5.6-9.16362"></min_mta_version>
<min_mta_version server="1.5.5-9.13846" client="1.6.0-9.22676"></min_mta_version>
<include resource="playerblips" />

<script src="util_server.lua" type="server" />
Expand Down

0 comments on commit 50c57d9

Please sign in to comment.