diff options
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/crash_on_ground.py | 2 | ||||
| -rw-r--r-- | plugins/radar.py | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/plugins/crash_on_ground.py b/plugins/crash_on_ground.py index 4cc334b..15b1fbf 100644 --- a/plugins/crash_on_ground.py +++ b/plugins/crash_on_ground.py @@ -10,8 +10,6 @@ class Plugin: def register(self, plugin_manager): self.plugin_manager = plugin_manager - #self.plugin_manager.register_hook('on_unjoin', self.on_death) - #self.plugin_manager.register_hook('on_add_object_server', self.on_join) self.plugin_manager.register_hook('on_remove_airplane_server', self.on_death) def on_death(self, data, player, message_to_client, message_to_server): diff --git a/plugins/radar.py b/plugins/radar.py index e09447d..ac47b5b 100644 --- a/plugins/radar.py +++ b/plugins/radar.py @@ -60,7 +60,7 @@ class Plugin: try: # This is a really arbitary position thats hard to reach, better would # be to randomise it for every time the server starts. - position_data = struct.pack("3f", 10e7, 10e7, 10e7) + position_data = struct.pack("3f", 10e8, 200, 10e8) if decode.packet_version == 4 or 5: updated_data = data[:14] + position_data + data[26:] else: |
