Merge pull request #10058 from warior4356/Drone-ID

Fixes ID based runtime on shutting down drones
This commit is contained in:
variableundefined
2018-10-30 08:09:11 +08:00
committed by GitHub
@@ -132,7 +132,7 @@
to_chat(user, "<span class='warning'>The interface is fried, and a distressing burned smell wafts from the robot's interior. You're not rebooting this one.</span>")
return
if(!allowed(usr))
if(!allowed(W))
to_chat(user, "<span class='warning'>Access denied.</span>")
return
@@ -158,7 +158,7 @@
if(emagged)
return
if(allowed(usr))
if(allowed(W))
shut_down()
else
to_chat(user, "<span class='warning'>Access denied.</span>")