mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-24 20:47:43 +01:00
has_gravity() rename + fixes
This commit is contained in:
@@ -119,7 +119,7 @@
|
||||
data["safetyDisabled"] = safety_disabled
|
||||
data["emagged"] = emagged
|
||||
data["gravity"] = FALSE
|
||||
if(linkedholodeck.has_gravity)
|
||||
if(linkedholodeck.get_gravity())
|
||||
data["gravity"] = TRUE
|
||||
|
||||
return data
|
||||
@@ -272,7 +272,7 @@
|
||||
else
|
||||
loadProgram(powerdown_program, 0)
|
||||
|
||||
if(!linkedholodeck.has_gravity)
|
||||
if(!linkedholodeck.get_gravity())
|
||||
linkedholodeck.gravitychange(1)
|
||||
|
||||
active = 0
|
||||
@@ -379,7 +379,7 @@
|
||||
active = 1
|
||||
update_use_power(USE_POWER_IDLE)
|
||||
|
||||
if(A.has_gravity)
|
||||
if(A.get_gravity())
|
||||
A.gravitychange(0)
|
||||
else
|
||||
A.gravitychange(1)
|
||||
@@ -388,7 +388,7 @@
|
||||
//Turn it back to the regular non-holographic room
|
||||
loadProgram(powerdown_program, 0)
|
||||
|
||||
if(!linkedholodeck.has_gravity)
|
||||
if(!linkedholodeck.get_gravity())
|
||||
linkedholodeck.gravitychange(1)
|
||||
|
||||
active = 0
|
||||
|
||||
Reference in New Issue
Block a user