summaryrefslogtreecommitdiffstats
path: root/ps_forced.gd
diff options
context:
space:
mode:
Diffstat (limited to 'ps_forced.gd')
-rw-r--r--ps_forced.gd3
1 files changed, 3 insertions, 0 deletions
diff --git a/ps_forced.gd b/ps_forced.gd
index 4c4c3dc..9a8b41a 100644
--- a/ps_forced.gd
+++ b/ps_forced.gd
@@ -4,6 +4,9 @@ extends PlayerState
var input_x: float
var jump_coef = 1.3
+func _to_string() -> String:
+ return "PlayerStateForced"
+
func initialize(p: Player, dir: String):
if dir == "LEFT":
input_x = -1.0