mirror of
https://github.com/cybergirlvannie/OpenSS13.git
synced 2026-07-09 14:53:13 +01:00
Fixing bug #1936688, display (and logging) when player mode voting toggled was incorrect.
This commit is contained in:
@@ -565,8 +565,8 @@
|
||||
|
||||
config.allowvotemode = !config.allowvotemode
|
||||
|
||||
world << "<B>Player mode voting toggled to [config.allowvoterestart ? "On" : "Off"]</B>."
|
||||
if(config.logadmin) world.log << "ADMIN: Mode voting toggled to [config.allowvoterestart ? "On" : "Off"] by [usr.key]."
|
||||
world << "<B>Player mode voting toggled to [config.allowvotemode ? "On" : "Off"]</B>."
|
||||
if(config.logadmin) world.log << "ADMIN: Mode voting toggled to [config.allowvotemode ? "On" : "Off"] by [usr.key]."
|
||||
if(config.allowvotemode)
|
||||
vote.nextvotetime = world.timeofday
|
||||
update()
|
||||
|
||||
Reference in New Issue
Block a user