Remove the World singleton.

This commit is contained in:
Major-
2015-03-28 13:46:50 +00:00
parent 7cf31a2888
commit 3bd3ddd226
68 changed files with 620 additions and 323 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ def get_npc(hash)
z = hash.delete(:z)
position = Position.new(hash.delete(:x), hash.delete(:y), z == nil ? 0 : z)
return Npc.new(id, position)
return Npc.new($world, id, position)
end
# Applies a decoded hash (one aquired using parse_hash) to the specified npc.