mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2025-10-20 00:00:39 +00:00
bug fixes, servermanager link in stats, toml to json config
This commit is contained in:
parent
039c7d3645
commit
a2cf2bfcb6
8 changed files with 88 additions and 206 deletions
7
dist/ba_root/mods/features/votingmachine.py
vendored
7
dist/ba_root/mods/features/votingmachine.py
vendored
|
|
@ -3,6 +3,7 @@
|
|||
import time
|
||||
|
||||
import _babase
|
||||
import _bascenev1
|
||||
|
||||
import bascenev1 as bs
|
||||
|
||||
|
|
@ -81,11 +82,11 @@ def vote(pb_id, client_id, vote_type):
|
|||
except:
|
||||
pass
|
||||
elif vote_type == "nv":
|
||||
_babase.chatmessage("/nv")
|
||||
_bascenev1.chatmessage("/nv")
|
||||
elif vote_type == "dv":
|
||||
_babase.chatmessage("/dv")
|
||||
_bascenev1.chatmessage("/dv")
|
||||
elif vote_type == "sm":
|
||||
_babase.chatmessage("/sm")
|
||||
_bascenev1.chatmessage("/sm")
|
||||
|
||||
|
||||
def reset_votes():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue