Permalink
Browse files

Move @uptime north for consistency

  • Loading branch information...
tjkirch committed Apr 7, 2011
1 parent 685f9e7 commit 17613763e57bb2a51a158832d8d50e03832befb1
Showing with 1 addition and 3 deletions.
  1. +1 −3 components/manager.rb
View
@@ -20,8 +20,8 @@ class Manager
#a Manager object in an external script.
def initialize(objects = nil)
@soft_restart = false
@storage = StorageMachine.new
@uptime = Time.new.to_i
unless objects
@cancelled_events = Set.new
@@ -38,8 +38,6 @@ def initialize(objects = nil)
else
@game_objects = objects
end
@uptime = Time.new.to_i
end
#Checks if a game object ID exists already, to avoid conflicts.

0 comments on commit 1761376

Please sign in to comment.