mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-12-06 19:01:35 +00:00
Add world as a global variable for plugins.
This commit is contained in:
1 parent
9469ebe297
commit
44b8972fb3
10 files changed
+19
-18
No files matched your search
@@ -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