mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 13:44:59 +00:00
Removed Graphics.delta_s and the usage thereof, tweaked credits screen code
This commit is contained in:
@@ -574,7 +574,7 @@ EventHandlers.add(:on_frame_update, :phone_call_counter,
|
||||
if $PokemonGlobal.phone.time_to_next_call <= 0
|
||||
$PokemonGlobal.phone.time_to_next_call = rand(20...40) * 60.0 # 20-40 minutes
|
||||
end
|
||||
$PokemonGlobal.phone.time_to_next_call -= Graphics.delta_s
|
||||
$PokemonGlobal.phone.time_to_next_call -= Graphics.delta
|
||||
next if $PokemonGlobal.phone.time_to_next_call > 0
|
||||
# Time for a random phone call; generate one
|
||||
Phone::Call.make_incoming
|
||||
|
||||
Reference in New Issue
Block a user