mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-04 16:49:11 +00:00
Add world as a global variable for plugins.
This commit is contained in:
@@ -12,5 +12,5 @@
|
||||
# function. The rest of the mining plugin rounds the base respawn times in
|
||||
# pulses down where appropriate.
|
||||
def respawn_pulses(base, players)
|
||||
base - players * base / (World.world.player_repository.size * 2)
|
||||
base - players * base / ($world.player_repository.size * 2)
|
||||
end
|
||||
Reference in New Issue
Block a user